using System.ServiceModel.Channels;

namespace Weever.Json.Binding
{
    class JsonMessageEncoderFactory: MessageEncoderFactory
    {
        private MessageEncoder _encoder;
        
        internal JsonMessageEncoderFactory()
        {
            _encoder = new JsonMessageEncoder();
        }
        
        public override MessageEncoder Encoder
        {
            get { return _encoder; }
        }

        public override MessageVersion MessageVersion
        {
            get { return _encoder.MessageVersion; }
        }
    }
}
